<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>

<html:html>	
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
		<title><bean:message key="ModificarAlumno.informacion.adulto" /></title>
	</head>
	
	<body>
		<html:errors/>
		<html:form action="/visualizarAlumno" >
			<table width="100%" border="0">
			  	<caption>
			  		<font color="#990000"><strong><bean:message key="ModificarAlumno.informacion" /></strong></font> 
			  	</caption>
			  	<html:hidden property="idAlumno"/>	
	            <html:hidden property="fechaIngreso"/>
	            <html:hidden property="codigo"/>
	            <html:hidden property="nombre"/>
	            <html:hidden property="apellido"/>
			  	<tr> 
			    	<td colspan="3">&nbsp;</td>			    	
			  	</tr>
			  	<tr> 
			    	<td colspan="3"><bean:message key="ModificarAlumno.info.personal" /></td>
			  	</tr>
			  	<tr>
				    
			    <td colspan="2"> 
			    	<bean:define id="imagen" name="alumnoForm" property="foto" toScope="request"/> 
			     	<html:img page="<%= "/imagenes/alumnos/" + String.valueOf(imagen)%>" width="263" height="213" />			       
			    </td>
			  	</tr>
			  	<tr> 
			    	<td width="38%">
			    		<bean:message key="ModificarAlumno.codigo" />
			    	</td>
			   		<td colspan="2"> 
			   			<bean:write name="alumnoForm" property="codigo" />			   			
			   		</td>
			  	</tr>
			  	<tr> 
			    	<td width="38%">
			    		<bean:message key="ModificarAlumno.nombre" />
			    	</td>
			   		<td colspan="2"> 
			   			<bean:write name="alumnoForm" property="nombre" />
			   		</td>
			  	</tr>
			  	<tr> 
			    	<td>
			    		<bean:message key="ModificarAlumno.apellido" />
			    	</td>
			    	<td colspan="2">
			    		<bean:write name="alumnoForm" property="apellido" />
			    	</td>
			  	</tr>
			  	<tr> 
			    	<td>
			    		&nbsp;			    					      		
			      	</td>
			    	<td colspan="2">
			    		<html:checkbox name="alumnoForm" property="esAdolescente"  value="1" disabled="true" ><bean:message key="ModificarAlumno.esAdolescente" /></html:checkbox>
			    	</td>
			  	</tr>
			  	<tr> 
			    	<td>
			    		<bean:message key="ModificarAlumno.dni" />
			    	</td>
			    	<td colspan="2">
			    		<bean:write name="alumnoForm" property="dni" />
			    	</td>
			  	</tr>
			 	<tr> 
			    	<td>
			    		<bean:message key="ModificarAlumno.sexo" />
			    	</td>
			   		<td colspan="2"> 
			   			<bean:write name="alumnoForm" property="sexo" />      		
			      	</td>
			  	</tr>
			  	<tr> 
			   		<td>
			   			<bean:message key="ModificarAlumno.fechaNac" />
			   		</td>
			    	<td colspan="2">	
			    		<bean:write name="alumnoForm" property="fechaNac" /> 
			      	</td>
			  	</tr>
			  	<tr> 
			    	<td>
			    		<bean:message key="ModificarAlumno.direccion" /> 
			    	</td>
			    	<td colspan="2">
			    		<bean:write name="alumnoForm" property="direccion" /> 
			    	</td>
			  	</tr>
			  	<tr> 
			    	<td>
				    	<bean:message key="ModificarAlumno.telefono" />
			    	</td>
			    	<td colspan="2">
			    		<bean:write name="alumnoForm" property="telefono" />
			    	</td>
			  	</tr>
			  	<tr> 
			    	<td>
			    		<bean:message key="ModificarAlumno.estadoCivil" />
			    	</td>
			    	<td colspan="2"> 
			    		<bean:write name="alumnoForm" property="estadoCivil" />
			      	</td>
			  	</tr>
			  	<tr> 
			    	<td>
			    		<bean:message key="ModificarAlumno.apellidoNombreMadre" />
			    	</td>
			    	<td colspan="2"> 
			    		<bean:write name="alumnoForm" property="apellidoNombreMadre" />
			    	</td>
			  	</tr>
			  	<tr> 
			   		<td>
			   			<bean:message key="ModificarAlumno.apellidoNombrePadre" />
			   		</td>
			   		<td colspan="2"> 
			   			<bean:write name="alumnoForm" property="apellidoNombrePadre" />
			   		</td>
			  	</tr>
			  	<tr> 
			    	<td>
			    		<bean:message key="ModificarAlumno.religion" />
			    	</td>
			    	<td colspan="2"> 
			    		<bean:write name="alumnoForm" property="religion" />
			    	</td>
			  	</tr>
			  	<tr> 
			    	<td>
			    		<bean:message key="ModificarAlumno.escuela" />
			    	</td>
			    	<td colspan="2"> 
			    		<bean:write name="alumnoForm" property="nombreEscuela" />			    		
			      	</td>
			  	</tr>
			  	<tr> 
			    	<td>
			    		<bean:message key="ModificarAlumno.grado" />
			    	</td>
			    	<td colspan="2"> 
			    		<bean:write name="alumnoForm" property="grado" />			    		
			      	</td>
			  	</tr>
			  	<tr> 
			    	<td>
			    		<bean:message key="ModificarAlumno.actividadExtra" />
			    	</td>
			    	<td colspan="2"> 
			    		<bean:write name="alumnoForm" property="actividadExtra" />
			    	</td>
			  	</tr>
			  	<tr> 
			    	<td colspan="3">&nbsp;</td>
			  	</tr>			  				  	
			  	<tr> 
			    	<td>
			    		<bean:message key="ModificarAlumno.problemas" />
			    	</td>
			    	<td colspan="2"> 
			    		<bean:write name="alumnoForm" property="problemas" />
			    	</td>
			  	</tr>
			  	<tr> 
			    	<td>
			    		<bean:message key="ModificarAlumno.observaciones" />
			    	</td>
			    	<td colspan="2"> 
			    		<bean:write name="alumnoForm" property="observaciones" />			    		
			    	</td>
			  	</tr>
			  	<tr> 
			    	<td colspan="3">&nbsp;</td>
			  	</tr>	
			  	<tr> 
			    	<td>
			    		<bean:message key="ModificarAlumno.apellidoNombreTutor" />
			    	</td>
			    	<td colspan="2">
			    		<bean:write name="alumnoForm" property="apellidoNombreTutor" />
			    	</td>
			  	</tr>		  				  		  				  			  	
			  	<tr> 
			    	<td colspan="3">&nbsp;</td>
			  	</tr>
			  	<tr>			    	
			    	<td width="15%" align="center"> 
			    		<html:cancel><bean:message key="Botones.cancelar" /></html:cancel> 
			    	</td>			    	
			  	</tr>
			</table>
			<%-- set the parameter for the dispatch action --%>
			<html:hidden property="action" value="visualizarAlumno" />
		</html:form>
	</body>
</html:html>